package com.huizu.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 公告管理对象 pro_notice
 * 
 * @author zhangmx
 * @date 2024-05-25
 */
public class ProNotice
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 公告名称 */
    @Excel(name = "公告名称")
    private String name;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String content;

    /**
     * 创建人id
     */
    private String createBy;

    /**
     * 创建人姓名
     */
    private String userName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private int xxStatus;

    private String beUserId;

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getXxStatus() {
        return xxStatus;
    }

    public void setXxStatus(int xxStatus) {
        this.xxStatus = xxStatus;
    }

    public String getBeUserId() {
        return beUserId;
    }

    public void setBeUserId(String beUserId) {
        this.beUserId = beUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("name", getName())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .toString();
    }
}
